<!DOCTYPE html>
<!--html5-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!-->
<html style="" class=" js no-touch boxshadow opacity fontface svg inlinesvg svgclippaths no-ie8compat" lang="en"><!--<![endif]--><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><script async="" src="Arduino%20-%20LiquidCrystalDisplay-Dateien/cbgapi.loaded_1"></script><script async="" src="Arduino%20-%20LiquidCrystalDisplay-Dateien/cbgapi.loaded_0"></script><script src="Arduino%20-%20LiquidCrystalDisplay-Dateien/menu169.js" type="text/javascript"></script><script gapi_processed="true" src="Arduino%20-%20LiquidCrystalDisplay-Dateien/plusone.js" type="text/javascript"></script><script src="Arduino%20-%20LiquidCrystalDisplay-Dateien/widgets.js" type="text/javascript"></script><script src="Arduino%20-%20LiquidCrystalDisplay-Dateien/de.js" type="text/javascript"></script>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
  	<meta charset="utf-8">

	<title>Arduino - LiquidCrystalDisplay </title>
	<link rel="shortcut icon" type="image/x-icon" href="http://arduino.cc/en/favicon.png">

	<script src="Arduino%20-%20LiquidCrystalDisplay-Dateien/ga.js" async="" type="text/javascript"></script><script src="Arduino%20-%20LiquidCrystalDisplay-Dateien/jquery-1.js"></script>

	<link rel="stylesheet" href="Arduino%20-%20LiquidCrystalDisplay-Dateien/fonts.css" type="text/css">
	<link rel="stylesheet" href="Arduino%20-%20LiquidCrystalDisplay-Dateien/arduino-icons.css">
	<link rel="stylesheet" href="Arduino%20-%20LiquidCrystalDisplay-Dateien/animation.css"><!--[if IE 7]>
	<link rel="stylesheet" href="http://arduino.cc/css/arduino-icons-ie7.css"><![endif]-->
	<!--[if gte IE 9]><!-->
	<link rel="stylesheet" href="Arduino%20-%20LiquidCrystalDisplay-Dateien/foundation2.css" type="text/css">
	<!--[endif]---->
	<!--[if IE 8]>
		<link rel='stylesheet' href='http://arduino.cc/css/foundation_ie8.css' type='text/css' />	
	<![endif]-->
	<link rel="stylesheet" href="Arduino%20-%20LiquidCrystalDisplay-Dateien/arduino_code_highlight.css" type="text/css">
	<link rel="stylesheet" type="text/css" media="screen" href="Arduino%20-%20LiquidCrystalDisplay-Dateien/typeplate.css">
	<link rel="stylesheet" href="Arduino%20-%20LiquidCrystalDisplay-Dateien/arduinoWide_SSO.css" type="text/css">

	<link rel="stylesheet" href="Arduino%20-%20LiquidCrystalDisplay-Dateien/common.css" type="text/css">
	<link href="https://plus.google.com/114839908922424087554" rel="publisher">

	<!-- embedded JS and CSS from PmWiki plugins -->	
	<!--HeaderText--><style type="text/css"><!--
  ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
  code { white-space: nowrap; }
  .vspace { margin-top:1.33em; }
  .indent { margin-left:40px; }
  .outdent { margin-left:40px; text-indent:-40px; }
  a.createlinktext { text-decoration:none; border-bottom:1px dotted gray; }
  a.createlink { text-decoration:none; position:relative; top:-0.5em;
    font-weight:bold; font-size:smaller; border-bottom:none; }
  img { border:0px; }
  
span.anchor {
	float: left;
	font-size: 10px;
	margin-left: -10px;
	width: 10px;
    position:relative; top:-0.1em;
	text-align: center;
}
span.anchor a { text-decoration: none; }
span.anchor a:hover { text-decoration: underline; }
ol.toc { text-indent:-20px; list-style: none; }
ol.toc ol.toc { text-indent:-40px; }
div.tocfloat { font-size: smaller; margin-bottom: 10px;
    border-top: 1px dotted #555555; border-bottom: 1px dotted #555555;
    padding-top: 5px; padding-bottom: 5px; 
    width: 38%; float: right; margin-left: 10px; clear: right;
    margin-right:-13px; padding-right: 13px; padding-left: 13px;
    background-color: #eeeeee; }
div.toc { font-size: smaller; 
    padding: 5px; border: 1px dotted #cccccc;
    background: #f7f7f7;
    margin-bottom: 10px; }
div.toc p { background-color: #f9f6d6;
    margin-top:-5px;   padding-top: 5px;
    margin-left:-5px;  padding-left: 5px;
    margin-right:-5px; padding-right: 5px;
    padding-bottom: 3px;
    border-bottom:  1px dotted #cccccc; }.editconflict { color:green; 
  font-style:italic; margin-top:1.33em; margin-bottom:1.33em; }

  table.markup { border: 2px dotted #ccf; width:90%; }
  td.markup1, td.markup2 { padding-left:10px; padding-right:10px; }
  td.markup1 { border-bottom: 1px solid #ccf; }
  div.faq { margin-left:2em; }
  div.faq p.question { margin: 1em 0 0.75em -2em; font-weight:bold; }
  div.faq hr { margin-left: -2em; }
   
    .frame 
      { border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
    .lfloat { float:left; margin-right:0.5em; }
    .rfloat { float:right; margin-left:0.5em; }
a.varlink { text-decoration:none; }
/**
 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 */
.arduino  {font-family:monospace;}
.arduino .imp {font-weight: bold; color: red;}
.arduino .kw1 {color: #CC6600;}
.arduino .kw2 {color: #006699;}
.arduino .kw3 {color: #CC6600; font-weight: bold;}
.arduino .co1 {color: #7E7E7E; font-style: italic;}
.arduino .co2 {color: #7E7E7E;}
.arduino .coMULTI {color: #7E7E7E; font-style: italic;}
.arduino .es0 {color: #000099; font-weight: bold;}
.arduino .es1 {color: #000099; font-weight: bold;}
.arduino .es2 {color: #660099; font-weight: bold;}
.arduino .es3 {color: #660099; font-weight: bold;}
.arduino .es4 {color: #660099; font-weight: bold;}
.arduino .es5 {color: #006699; font-weight: bold;}
.arduino .br0 {color: #000000;}
.arduino .sy0 {color: #000000;}
.arduino .st0 {color: #0066CC;}
.arduino .nu0 {color: #000000;}
.arduino .nu6 {color: #208080;}
.arduino .nu8 {color: #208080;}
.arduino .nu12 {color: #208080;}
.arduino .nu16 {color:#800080;}
.arduino .nu17 {color:#800080;}
.arduino .nu18 {color:#800080;}
.arduino .nu19 {color:#800080;}
.arduino .me1 {color: #ff1493;}
.arduino .me2 {color: #ff1493;}
.arduino span.xtra { display:block; }

.sourceblocklink {
  text-align: right;
  font-size: smaller;
}
.sourceblocktext {
  padding: 0.5em;
  color: #000000;
  background-color: #ffffff;
}
.sourceblocktext div {
  font-family: monospace;
  font-size: small;
  line-height: 1;
  height: 1%;
}
.sourceblocktext div.head,
.sourceblocktext div.foot {
  font: italic medium serif;
  padding: 0.5em;
}

--></style><script type="text/javascript">
function toggle(obj) {
    var elstyle = document.getElementById(obj).style;
    var text    = document.getElementById(obj + "tog");
    if (elstyle.display == 'none') {
        elstyle.display = 'block';
        text.innerHTML = "hide";
    } else {
        elstyle.display = 'none';
        text.innerHTML = "show";
    }
}
</script>  <meta name="robots" content="index,follow">


	<script src="Arduino%20-%20LiquidCrystalDisplay-Dateien/custom.js"></script>

	<!-- do not remove none of those lines, comments embedding in pages will break! -->
	<script src="Arduino%20-%20LiquidCrystalDisplay-Dateien/jquery-ui.js" type="text/javascript"></script>
	<script src="Arduino%20-%20LiquidCrystalDisplay-Dateien/newsletter_subscribe_popup.js" type="text/javascript"></script>
	<link rel="stylesheet" href="Arduino%20-%20LiquidCrystalDisplay-Dateien/jquery-ui.css" type="text/css">
	<script src="Arduino%20-%20LiquidCrystalDisplay-Dateien/a" type="text/javascript"></script>
<link media="all" href="Arduino%20-%20LiquidCrystalDisplay-Dateien/widget009.css" type="text/css" rel="stylesheet"><style type="text/css">.fb_hidden{position:absolute;top:-10000px;z-index:10001}.fb_invisible{display:none}.fb_reset{background:none;border:0;border-spacing:0;color:#000;cursor:auto;direction:ltr;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}.fb_reset>div{overflow:hidden}.fb_link img{border:none}
.fb_dialog{background:rgba(82, 82, 82, .7);position:absolute;top:-10000px;z-index:10001}.fb_reset .fb_dialog_legacy{overflow:visible}.fb_dialog_advanced{padding:10px;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}.fb_dialog_content{background:#fff;color:#333}.fb_dialog_close_icon{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/s816eWC-2sl.gif);cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px}.fb_dialog_mobile .fb_dialog_close_icon{top:5px;left:5px;right:auto}.fb_dialog_padding{background-color:transparent;position:absolute;width:1px;z-index:-1}.fb_dialog_close_icon:hover{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/s816eWC-2sl.gif)}.fb_dialog_close_icon:active{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/s816eWC-2sl.gif)}.fb_dialog_loader{background-color:#f6f7f8;border:1px solid #606060;font-size:24px;padding:20px}.fb_dialog_top_left,.fb_dialog_top_right,.fb_dialog_bottom_left,.fb_dialog_bottom_right{height:10px;width:10px;overflow:hidden;position:absolute}.fb_dialog_top_left{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 0;left:-10px;top:-10px}.fb_dialog_top_right{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 -10px;right:-10px;top:-10px}.fb_dialog_bottom_left{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 -20px;bottom:-10px;left:-10px}.fb_dialog_bottom_right{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 -30px;right:-10px;bottom:-10px}.fb_dialog_vert_left,.fb_dialog_vert_right,.fb_dialog_horiz_top,.fb_dialog_horiz_bottom{position:absolute;background:#525252;filter:alpha(opacity=70);opacity:.7}.fb_dialog_vert_left,.fb_dialog_vert_right{width:10px;height:100%}.fb_dialog_vert_left{margin-left:-10px}.fb_dialog_vert_right{right:0;margin-right:-10px}.fb_dialog_horiz_top,.fb_dialog_horiz_bottom{width:100%;height:10px}.fb_dialog_horiz_top{margin-top:-10px}.fb_dialog_horiz_bottom{bottom:0;margin-bottom:-10px}.fb_dialog_iframe{line-height:0}.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #3a5795;color:#fff;font-size:14px;font-weight:bold;margin:0}.fb_dialog_content .dialog_title>span{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yd/r/Cou7n-nqK52.gif) no-repeat 5px 50%;float:left;padding:5px 0 7px 26px}body.fb_hidden{-webkit-transform:none;height:100%;margin:0;overflow:visible;position:absolute;top:-10000px;left:0;width:100%}.fb_dialog.fb_dialog_mobile.loading{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ya/r/3rhSv5V8j3o.gif) white no-repeat 50% 50%;min-height:100%;min-width:100%;overflow:hidden;position:absolute;top:0;z-index:10001}.fb_dialog.fb_dialog_mobile.loading.centered{max-height:590px;min-height:590px;max-width:500px;min-width:500px}#fb-root #fb_dialog_ipad_overlay{background:rgba(0, 0, 0, .45);position:absolute;left:0;top:0;width:100%;min-height:100%;z-index:10000}#fb-root #fb_dialog_ipad_overlay.hidden{display:none}.fb_dialog.fb_dialog_mobile.loading iframe{visibility:hidden}.fb_dialog_content .dialog_header{-webkit-box-shadow:white 0 1px 1px -1px inset;background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#738ABA), to(#2C4987));border-bottom:1px solid;border-color:#1d4088;color:#fff;font:14px Helvetica, sans-serif;font-weight:bold;text-overflow:ellipsis;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0;vertical-align:middle;white-space:nowrap}.fb_dialog_content .dialog_header table{-webkit-font-smoothing:subpixel-antialiased;height:43px;width:100%}.fb_dialog_content .dialog_header td.header_left{font-size:12px;padding-left:5px;vertical-align:middle;width:60px}.fb_dialog_content .dialog_header td.header_right{font-size:12px;padding-right:5px;vertical-align:middle;width:60px}.fb_dialog_content .touchable_button{background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#4966A6), color-stop(.5, #355492), to(#2A4887));border:1px solid #2f477a;-webkit-background-clip:padding-box;-webkit-border-radius:3px;-webkit-box-shadow:rgba(0, 0, 0, .117188) 0 1px 1px inset, rgba(255, 255, 255, .167969) 0 1px 0;display:inline-block;margin-top:3px;max-width:85px;line-height:18px;padding:4px 12px;position:relative}.fb_dialog_content .dialog_header .touchable_button input{border:none;background:none;color:#fff;font:12px Helvetica, sans-serif;font-weight:bold;margin:2px -12px;padding:2px 6px 3px 6px;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog_content .dialog_header .header_center{color:#fff;font-size:16px;font-weight:bold;line-height:18px;text-align:center;vertical-align:middle}.fb_dialog_content .dialog_content{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/y9/r/jKEcVPZFk-2.gif) no-repeat 50% 50%;border:1px solid #555;border-bottom:0;border-top:0;height:150px}.fb_dialog_content .dialog_footer{background:#f6f7f8;border:1px solid #555;border-top-color:#ccc;height:40px}#fb_dialog_loader_close{float:left}.fb_dialog.fb_dialog_mobile .fb_dialog_close_button{text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog.fb_dialog_mobile .fb_dialog_close_icon{visibility:hidden}
.fb_iframe_widget{display:inline-block;position:relative}.fb_iframe_widget span{display:inline-block;position:relative;text-align:justify}.fb_iframe_widget iframe{position:absolute}.fb_iframe_widget_lift{z-index:1}.fb_hide_iframes iframe{position:relative;left:-10000px}.fb_iframe_widget_loader{position:relative;display:inline-block}.fb_iframe_widget_fluid{display:inline}.fb_iframe_widget_fluid span{width:100%}.fb_iframe_widget_loader iframe{min-height:32px;z-index:2;zoom:1}.fb_iframe_widget_loader .FB_Loader{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/y9/r/jKEcVPZFk-2.gif) no-repeat;height:32px;width:32px;margin-left:-16px;position:absolute;left:50%;z-index:4}</style></head>
<body data-twttr-rendered="true"><iframe src="Arduino%20-%20LiquidCrystalDisplay-Dateien/hub.htm" style="position: absolute; top: -9999em; width: 10px; height: 10px;" name="twttrHubFrameSecure" tabindex="0" scrolling="no" allowtransparency="true" id="twttrHubFrameSecure" frameborder="0"></iframe><iframe src="Arduino%20-%20LiquidCrystalDisplay-Dateien/hub_002.htm" style="position: absolute; top: -9999em; width: 10px; height: 10px;" name="twttrHubFrame" tabindex="0" scrolling="no" allowtransparency="true" id="twttrHubFrame" frameborder="0"></iframe>

	<div id="menuWings" class="fixed"></div>
	<div id="page">
		
		
<script>
	var userAgent = (navigator.userAgent || navigator.vendor || window.opera).toLowerCase();
	if(userAgent.indexOf('mac')>0){
		$("head").append('<style type="text/css">@-moz-document url-prefix() {h1 a, h2 a, h3 a, h4 a, h5 a, h1 a:hover, h2 a:hover, th a, th a:hover, h3 a:hover, h4 a:hover, h5 a:hover, #wikitext h2 a:hover, #wikitext h3 a:hover, #wikitext h4 a:hover {padding-bottom: 0.5em!important;} #pageheader .search input{font-family: "TyponineSans Regular 18";} #pagefooter .monospace{margin-top: -4px;} #navWrapper ul.left &gt; li{margin-top: -2px; padding-bottom: 2px;}#navWrapper ul.right &gt; li{margin-top: -5px; padding-bottom: 5px;}#navWrapper ul.right &gt; li ul{margin-top: 4px;} .slider-container .fixed-caption p{padding:8px 0 14px 0}}</style>');
	}
</script>

<!--[if IE]>
<link rel='stylesheet' href='https://id.arduino.cc//css/ie-monospace.css' type='text/css' />
<![endif]-->

<div id="menuWings" class="fixed"></div>

<!--[if IE 8]>
<div class="alert-box panel ie8alert">
  <p><strong>Arduino.cc offers limited compatibility for Internet Explorer 8. Get a modern browser as Chrome, Firefox or Safari.</strong></p>
  <a href="" class="close">&times;</a>
</div>
<![endif]-->

<div id="pageheader">
	<div class="row">
		<div class="small-6 large-8 eight columns">
			<div class="title"><a href="http://arduino.cc/">Arduino</a></div>
		</div>
		<div class="small-6 large-4 four columns search">
			<div class="row collapse">
				<form method="GET" action="http://www.google.com/search">
	<div class="small-12 twelve columns">
		<i class="icon-search-2"></i>
		<input name="ie" value="UTF-8" type="hidden">
		<input name="oe" value="UTF-8" type="hidden">
		<input name="q" size="25" maxlength="255" placeholder="Search the Arduino Website" type="text">
		<input name="btnG" value="search" type="submit">
		<input name="domains" value="http://arduino.cc" type="hidden">
		<input name="sitesearch" value="http://arduino.cc" type="hidden">
	</div>
</form>			</div>
		</div>
	</div>

	<!--[if gte IE 9]><!-->
	<div id="navWrapper" class="sticky">
	<!--[endif]---->
	<!--[if IE 8]>
		<div id="navWrapper">
	<![endif]-->
		<nav class="top-bar" data-options="is_hover:true">
			<ul class="title-area">
				<li class="name"></li>
			</ul>

			
		<section class="top-bar-section">
				<ul class="left">
					<li id="navLogo">
						<a href="http://arduino.cc/">
							<img src="Arduino%20-%20LiquidCrystalDisplay-Dateien/logo_46.png" alt="userpicture">
						</a>
					</li>
					<li id="navHome"><a href="http://arduino.cc/">Home</a></li>
					<li><a href="http://store.arduino.cc/">Buy</a></li>
					<li><a href="http://arduino.cc/en/Main/Software">Download</a></li>
					<li class="has-dropdown not-click"><a href="#">Products</a>
						<ul class="dropdown"><li class="title back js-generated"><h5><a href="#"><span class="backArrow">Back</span></a></h5></li>
							<li><a href="http://arduino.cc/en/Main/Products">Arduino</a></li>
							<li><a href="http://arduino.cc/en/ArduinoAtHeart/Products">AtHeart</a></li>
							<li><a href="http://arduino.cc/en/ArduinoCertified/Products">Certified</a></li>
						</ul>
					</li>
					<li class="has-dropdown active not-click"><a href="#">Learning</a>
						<ul class="dropdown"><li class="title back js-generated"><h5><a href="#"><span class="backArrow">Back</span></a></h5></li>
							<li><a href="http://arduino.cc/en/Guide/HomePage">Getting started</a></li>
							<li><a href="http://arduino.cc/en/Tutorial/HomePage">Examples</a></li>
							<li><a href="http://arduino.cc/en/Reference/HomePage">Reference</a></li>
							<li><a href="http://playground.arduino.cc/">Playground</a></li>
						</ul>
					</li>
					<li><a href="http://forum.arduino.cc/">Forum</a></li>
					<li class="has-dropdown not-click"><a href="#">Support</a>
						<ul class="dropdown"><li class="title back js-generated"><h5><a href="#"><span class="backArrow">Back</span></a></h5></li>
							<li><a href="http://arduino.cc/en/Main/FAQ">FAQ</a></li>
							<li><a href="http://arduino.cc/en/ContactUs">Contact Us</a></li>
						</ul>
					</li>
					<li><a href="http://blog.arduino.cc/">Blog</a></li>
				</ul>

								<ul class="right">
					<li><a href="https://id.arduino.cc/auth/login/?returnurl=http%3A%2F%2Farduino.cc%2Fen%2FTutorial%2FLiquidCrystalDisplay" class="cart">LOG IN</a></li>
					<li><a href="https://id.arduino.cc/auth/signup" class="cart">SIGN UP</a></li>
				</ul>
							</section></nav>
	</div>
</div>



		<br class="clear">

		<div id="pagetext">
				<!--PageText-->
<div id="wikitext">
<p><strong>Learning</strong> &nbsp;  <a class="wikilink" href="http://arduino.cc/en/Tutorial/HomePage">Examples</a> | <a class="wikilink" href="http://arduino.cc/en/Tutorial/Foundations">Foundations</a> | <a class="wikilink" href="http://arduino.cc/en/Hacking/HomePage">Hacking</a> | <a class="wikilink" href="http://arduino.cc/en/Tutorial/Links">Links</a>
</p>
<p class="vspace"></p><p><em>Examples &gt; Libraries &gt; <span class="wikiword">LiquidCrystal</span></em>
</p>
<p class="vspace"></p><h3><span class="wikiword">LiquidCrystal</span> - display() and noDisplay()</h3>
<p>The <a class="wikilink" href="http://arduino.cc/en/Reference/LiquidCrystal"><strong>Liquid Crystal Library</strong></a> allows you to control LCD displays that are compatible with the  Hitachi <span class="wikiword">HD44780</span> driver. There are many of them out there, and you can usually tell them by the 16-pin interface.
</p>
<p class="vspace"></p><p>This example sketch shows how to use the 
display() and noDisplay() methods to turn on and off the display. The 
text to be displayed will still be preserved when you use noDisplay() so
 it's a quick way to blank the display without losing everything on it.
</p>
<p class="vspace"></p><div class="BOM">
<h3>Hardware Required</h3>
<ul><li>Arduino Board  
</li><li>LCD Screen (compatible with Hitachi <span class="wikiword">HD44780</span> driver)
</li><li>pin headers to solder to the LCD display pins
</li><li>10k Potentiometer
</li><li>breadboard
</li><li>hook-up wire
</li></ul><p class="vspace"></p></div>
<p class="vspace"></p><h3>Circuit</h3>
<div class="circuit">
<p>Before wiring the LCD screen to your Arduino we suggest to solder a 
pin header strip to the 14 (or 16) pin count connector of the LCD 
screen, as you can see in the image above.<br>To wire your LCD screen to your Arduino, connect the following pins:
</p>
<p class="vspace"></p><ul><li>LCD RS pin to digital pin 12
</li><li>LCD Enable pin to digital pin 11
</li><li>LCD D4 pin to digital pin 5
</li><li>LCD D5 pin to digital pin 4
</li><li>LCD D6 pin to digital pin 3
</li><li>LCD D7 pin to digital pin 2
</li></ul><p class="vspace"></p><p>Additionally, wire a 10K pot to +5V and GND, with it's wiper (output) to LCD screen's VO pin (pin3). 
</p>
<p class="vspace"></p><p><span style="font-size:83%">click the images to enlarge</span>
</p>
<p class="vspace"></p><div><a class="urllink" href="http://arduino.cc/en/uploads/Tutorial/LCD_bb.png" rel="nofollow"><img src="Arduino%20-%20LiquidCrystalDisplay-Dateien/LCD_bb.png" alt="" title="" height="300px"></a></div>
<p><span style="font-size:83%">image developed using <a target="_blank" class="urllink" href="http://www.fritzing.org/" rel="nofollow">Fritzing</a>. For more circuit examples, see the <a target="_blank" class="urllink" href="http://fritzing.org/projects/" rel="nofollow">Fritzing project page</a> </span>
</p>
<p class="vspace"></p><div><a class="urllink" href="http://arduino.cc/en/uploads/Tutorial/LCD_schem.png" rel="nofollow"><img src="Arduino%20-%20LiquidCrystalDisplay-Dateien/LCD_schem.png" alt="" title="" height="300px"></a></div>
<p class="vspace"></p></div>
<p class="vspace"></p><h3>Code</h3>
<div class="code">
<p>
</p><div class="sourceblock " id="sourceblock1">
  <div class="sourceblocktext"><div class="arduino"><span class="coMULTI">/*<br>
&nbsp; LiquidCrystal Library - display() and noDisplay()<br>
&nbsp;<br>
&nbsp;Demonstrates the use a 16x2 LCD display. &nbsp;The LiquidCrystal<br>
&nbsp;library works with all LCD displays that are compatible with the <br>
&nbsp;Hitachi HD44780 driver. There are many of them out there, and you<br>
&nbsp;can usually tell them by the 16-pin interface.<br>
&nbsp;<br>
&nbsp;This sketch prints "Hello World!" to the LCD and uses the <br>
&nbsp;display() and noDisplay() functions to turn on and off<br>
&nbsp;the display.<br>
&nbsp;<br>
&nbsp;The circuit:<br>
&nbsp;* LCD RS pin to digital pin 12<br>
&nbsp;* LCD Enable pin to digital pin 11<br>
&nbsp;* LCD D4 pin to digital pin 5<br>
&nbsp;* LCD D5 pin to digital pin 4<br>
&nbsp;* LCD D6 pin to digital pin 3<br>
&nbsp;* LCD D7 pin to digital pin 2<br>
&nbsp;* LCD R/W pin to ground<br>
&nbsp;* 10K resistor:<br>
&nbsp;* ends to +5V and ground<br>
&nbsp;* wiper to LCD VO pin (pin 3)<br>
&nbsp;<br>
&nbsp;Library originally added 18 Apr 2008<br>
&nbsp;by David A. Mellis<br>
&nbsp;library modified 5 Jul 2009<br>
&nbsp;by Limor Fried (http://www.ladyada.net)<br>
&nbsp;example added 9 Jul 2009<br>
&nbsp;by Tom Igoe <br>
&nbsp;modified 22 Nov 2010<br>
&nbsp;by Tom Igoe<br>
<br>
&nbsp;This example code is in the public domain.<br>
<br>
&nbsp;http://arduino.cc/en/Tutorial/LiquidCrystalDisplay<br>
<br>
&nbsp;*/</span><br>
<br>
<span class="co1">// include the library code:</span><br>
<span class="co2">#include &lt;LiquidCrystal.h&gt;</span><br>
<br>
<span class="co1">// initialize the library with the numbers of the interface pins</span><br>
LiquidCrystal lcd<span class="br0">(</span><span class="nu0">12</span><span class="sy0">,</span> <span class="nu0">11</span><span class="sy0">,</span> <span class="nu0">5</span><span class="sy0">,</span> <span class="nu0">4</span><span class="sy0">,</span> <span class="nu0">3</span><span class="sy0">,</span> <span class="nu0">2</span><span class="br0">)</span><span class="sy0">;</span><br>
<br>
<span class="kw1">void</span> <span class="kw3">setup</span><span class="br0">(</span><span class="br0">)</span> <span class="br0">{</span><br>
&nbsp; <span class="co1">// set up the LCD's number of columns and rows: </span><br>
&nbsp; lcd.<span class="kw1">begin</span><span class="br0">(</span><span class="nu0">16</span><span class="sy0">,</span> <span class="nu0">2</span><span class="br0">)</span><span class="sy0">;</span><br>
&nbsp; <span class="co1">// Print a message to the LCD.</span><br>
&nbsp; lcd.<span class="kw1">print</span><span class="br0">(</span><span class="st0">"hello, world!"</span><span class="br0">)</span><span class="sy0">;</span><br>
<span class="br0">}</span><br>
<br>
<span class="kw1">void</span> <span class="kw3">loop</span><span class="br0">(</span><span class="br0">)</span> <span class="br0">{</span><br>
&nbsp; <span class="co1">// Turn off the display:</span><br>
&nbsp; lcd.<span class="me1">noDisplay</span><span class="br0">(</span><span class="br0">)</span><span class="sy0">;</span><br>
&nbsp; <span class="kw1">delay</span><span class="br0">(</span><span class="nu0">500</span><span class="br0">)</span><span class="sy0">;</span><br>
&nbsp; &nbsp;<span class="co1">// Turn on the display:</span><br>
&nbsp; lcd.<span class="me1">display</span><span class="br0">(</span><span class="br0">)</span><span class="sy0">;</span><br>
&nbsp; <span class="kw1">delay</span><span class="br0">(</span><span class="nu0">500</span><span class="br0">)</span><span class="sy0">;</span><br>
<span class="br0">}</span></div></div>
  <div class="sourceblocklink"><a href="http://arduino.cc/en/Tutorial/LiquidCrystalDisplay?action=sourceblock&amp;num=1" type="text/plain">[Get Code]</a></div>
</div>

<p></p>
<p class="vspace"></p></div>
<p class="vspace"></p><h3>See Also: </h3>
<ul><li><a class="wikilink" href="http://arduino.cc/en/Reference/LiquidCrystalBegin"><code>lcd.begin()</code></a>
</li><li><a class="wikilink" href="http://arduino.cc/en/Reference/LiquidCrystalPrint"><code>lcd.print()</code></a>
</li><li><a class="wikilink" href="http://arduino.cc/en/Reference/LiquidCrystalDisplay"><code>lcd.Display()</code></a>
</li><li><a class="wikilink" href="http://arduino.cc/en/Reference/LiquidCrystalNoCursor"><code>lcd.NoDisplay()</code></a>
<p class="vspace"></p></li><li><a class="wikilink" href="http://arduino.cc/en/Reference/LiquidCrystal">Liquid Crystal Library</a>
</li><li><a class="wikilink" href="http://arduino.cc/en/Tutorial/LiquidCrystalBlink">Blink</a>: control of the block-style cursor.
</li><li><a class="wikilink" href="http://arduino.cc/en/Tutorial/LiquidCrystalCursor">Cursor</a>: control of the underscore-style cursor.
</li><li><a class="wikilink" href="http://arduino.cc/en/Tutorial/LiquidCrystalTextDirection">TextDirection</a>: control which way text flows from the cursor.
</li><li><a class="wikilink" href="http://arduino.cc/en/Tutorial/LiquidCrystalScroll">Scroll</a>: scroll text left and right.
</li><li><a class="wikilink" href="http://arduino.cc/en/Tutorial/LiquidCrystalSerial">Serial input</a>: accepts serial input, displays it.
</li><li><a class="wikilink" href="http://arduino.cc/en/Tutorial/LiquidCrystalSetCursor">SetCursor</a>: set the cursor position.
</li><li><a class="wikilink" href="http://arduino.cc/en/Tutorial/LiquidCrystalAutoscroll">Autoscroll</a>: shift text right and left.
</li></ul><p class="vspace"></p>
</div>

				
				<!-- AddThis Button Style BEGIN -->
<style>
  .addthis_toolbox {
    margin: 2em 0 1em;
  }
  .addthis_toolbox img {
    float: left;
    height: 25px;
    margin-right: 10px;
    width: auto;
  }
  .addthis_toolbox .social-container {
    float: left;
    height: 27px; 
    width: auto; 
  }
  .addthis_toolbox .social-container .social-content {
    float: left;
    margin-top: 2px;
    max-width: 0;
    overflow: hidden;
    -moz-transition: max-width .3s ease-out;
    -webkit-transition: max-width .3s ease-out;
    -o-transition: max-width .3s ease-out;
    transition: max-width .3s ease-out;
  }
  .addthis_toolbox .social-container:hover .social-content {
    max-width: 100px;
    -moz-transition: max-width .2s ease-in;
    -webkit-transition: max-width .2s ease-in;
    -o-transition: max-width .2s ease-in;
    transition: max-width .2s ease-in;
  }
  .addthis_toolbox .social-container .social-content a {
    float: left;
    margin-right: 5px;
  }

  .addthis_toolbox h3 {
    font-size: 24px;
    text-align: left;
  }
</style>
<!-- AddThis Button Style END -->
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style">
  <h3>Share</h3>
  <!-- FACEBOOK -->
  <div class="social-container">
    <img src="Arduino%20-%20LiquidCrystalDisplay-Dateien/facebook_002.png">
    <div class="social-content">
      <a class="addthis_button_facebook_like at300b" fb:like:layout="button_count"><div fb-iframe-plugin-query="action=like&amp;app_id=172525162793917&amp;font=arial&amp;href=http%3A%2F%2Farduino.cc%2Fen%2FTutorial%2FLiquidCrystalDisplay&amp;layout=button_count&amp;locale=de_DE&amp;ref=.VJ7t097AY9E.like&amp;sdk=joey&amp;send=false&amp;show_faces=false&amp;width=90" fb-xfbml-state="rendered" data-send="false" data-href="http://arduino.cc/en/Tutorial/LiquidCrystalDisplay" data-font="arial" data-width="90" data-action="like" data-show_faces="false" data-layout="button_count" class="fb-like fb_iframe_widget" data-ref=".VJ7t097AY9E.like"><span style="vertical-align: bottom; width: 108px; height: 20px;"><iframe class="" src="Arduino%20-%20LiquidCrystalDisplay-Dateien/like.htm" style="border: medium none; visibility: visible; width: 108px; height: 20px;" title="fb:like Facebook Social Plugin" scrolling="no" allowtransparency="true" name="f13e11459a79728" frameborder="0" height="1000px" width="90px"></iframe></span></div></a>
    </div>
  </div>
  <!-- TWITTER -->
  <div class="social-container">
    <img src="Arduino%20-%20LiquidCrystalDisplay-Dateien/twitter_002.png">
    <div class="social-content">
      <a class="addthis_button_tweet at300b"><iframe style="width: 106px; height: 20px;" data-twttr-rendered="true" title="Twitter Tweet Button" class="twitter-share-button twitter-tweet-button twitter-share-button twitter-count-horizontal" src="Arduino%20-%20LiquidCrystalDisplay-Dateien/tweet_button.htm" allowtransparency="true" scrolling="no" id="twitter-widget-0" frameborder="0"></iframe></a>
    </div>
  </div>
  <!-- PINTEREST -->
  <div class="social-container">
    <img src="Arduino%20-%20LiquidCrystalDisplay-Dateien/pinterest.png">
    <div class="social-content">
      <a class="addthis_button_pinterest_pinit at300b" pi:pinit:url="http://www.addthis.com/features/pinterest" pi:pinit:media="http://www.addthis.com/cms-content/images/features/pinterest-lg.png"><iframe src="Arduino%20-%20LiquidCrystalDisplay-Dateien/pinit022.htm" title="AddThis | Pinterest" role="presentation" scrolling="no" allowtransparency="true" scrollbars="no" style="width:40px; height:25px;" frameborder="0"></iframe></a>
    </div>
  </div>
  <!-- G+ -->
  <div class="social-container">
    <img src="Arduino%20-%20LiquidCrystalDisplay-Dateien/gplus.png">
    <div class="social-content">
      <a class="addthis_button_google_plusone at300b" g:plusone:size="medium"><div id="___plusone_0" style="text-indent: 0px; margin: 0px; padding: 0px; background: none repeat scroll 0% 0% transparent; border-style: none; float: none; line-height: normal; font-size: 1px; vertical-align: baseline; display: inline-block; width: 90px; height: 20px;"><iframe title="+1" data-gapiattached="true" src="Arduino%20-%20LiquidCrystalDisplay-Dateien/fastbutton.htm" name="I0_1419701716275" id="I0_1419701716275" vspace="0" tabindex="0" style="position: static; top: 0px; width: 90px; margin: 0px; border-style: none; left: 0px; visibility: visible; height: 20px;" scrolling="no" marginwidth="0" marginheight="0" hspace="0" frameborder="0" width="100%"></iframe></div></a>
    </div>
  </div>

  <script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>
  <script type="text/javascript" src="Arduino%20-%20LiquidCrystalDisplay-Dateien/addthis_widget.js"></script>
<div class="atclear"></div></div>
<!-- AddThis Button END -->

			</div> <!-- eof pagetext -->			
	
	</div><div id="_atssh" style="visibility: hidden;"><iframe src="Arduino%20-%20LiquidCrystalDisplay-Dateien/sh183.htm" style="border: 0px none; left: 0px; top: 0px;" title="AddThis utility frame" id="_atssh561" height="1px" width="1px"></iframe></div><script src="pinit022_data/core174.js" type="text/javascript"></script> <!-- eof page -->
		
	<!--PageFooterFmt-->
	<div id="pagefooter">
		<div id="newsletterModal" class="reveal-modal small">
  <form action="http://arduino.cc/subscribe.php" method="post" name="sendy-subscribe-form" id="sendy-subscribe-form" class="form-popup">
    <div class="modalHeader">
      <h3 style="line-height: 1.8rem;" class="modal-header-alt">This link has expired. <br>Please re-subscribe to our Newsletters.</h3>
      <h3 class="modal-header-main">Subscribe to our Newsletters</h3>
    </div>
    <div class="modalBody" id="newsletterModalBody">
        <div id="newsletterEmailField" class="row" style="padding-left: 0">
          <div class="large-2 columns">
            <label for="email" class="newsletter-form-label inline">Email</label>
          </div>
          <div class="large-10 columns" style="padding-left: 0">
            <input placeholder="Enter your email address" name="email" class="subscribe-form-input" type="email">
            <p id="emailMissing" class="newsletterPopupError">Please enter a valid email to subscribe</p>
          </div>
        </div>
        <div style="margin-left:20px">
          <div style="margin-bottom:0.3em">
            <input style="display:none" checked="checked" name="list[]" value="arduino_newsletter_id" id="worldwide" class="newsletter-form-checkbox" type="checkbox">
            <label for="worldwide"></label>
            <div style="display:inline-block" class="newsletter-form-label">Arduino Newsletter</div>
          </div>
          <div>
            <input style="display:none" checked="checked" name="list[]" value="arduino_store_newsletter_id" id="store" class="newsletter-form-checkbox" type="checkbox">
            <label for="store"></label>
            <div style="display:inline-block" class="newsletter-form-label">Arduino Store Newsletter</div>
          </div>
        </div>
        <div>
          <p class="newsletterPopupError2" id="newsletterSubscribeStatus"></p>
        </div>
    </div>
    <div class="row modalFooter">
      <div class="form-buttons-row">
        
          <button type="button" value="Cancel" class="popup-form-button white cancel-modal close-reveal-modal">Cancel</button>
          <button type="submit" name="Subscribe" id="subscribe-submit-btn" class="popup-form-button">Next</button>
        
      </div>
    </div>
  </form>

  <!-- step 2, confirm popup -->
  <div class="confirm-popup" style="margin-bottom:1em">
    <div class="modalHeader">
      <h3>Confirm your email address</h3>
    </div>
    <div class="modalBody" id="newsletterModalBody" style="padding-right:1em;margin-bottom:0">
        <p style="margin-bottom:1em;font-size:15px">
          We need to confirm your email address.<br>
          To complete the subscription, please click the link in the
          email we just sent you.
        </p>
        <p style="margin-bottom:1em;font-size:15px">
          Thank you for subscribing!
        </p>
        <p style="margin-bottom:1em;font-size:15px">
          Arduino<br>
          via Egeo 16<br>
          Torino, 10131<br>
          Italy<br>
        </p>
    </div>
    <div class="row modalFooter">
      <div class="form-buttons-row">
        
          <button name="Ok" class="popup-form-button" id="close-confirm-popup">Ok</button>

      </div>
    </div>
  </div>

</div><div id="pagefooter" class="pagefooter">
  <div class="row">
    <div class="large-8 eight columns">
      <div class="large-4 four columns newsletter-box">
        <!-- Begin Sendy Signup Form -->
        <h6>Newsletter</h6>
        <div>
          <input name="email" class="email" id="sendy-EMAIL" placeholder="Enter your email to sign up" type="email">
          <i class="icon-right-small"></i>
          <input value="Subscribe" name="subscribe" id="sendy-subscribe" class="newsletter-button">
        </div>
        <!--End sendy_embed_signup-->
      </div>
      <div class="clearfix"></div>
      <ul class="inline-list">
        <li class="monospace">©2014 Arduino</li>
        <li><a href="http://arduino.cc/en/Main/CopyrightNotice">Copyright Notice</a></li>
        <li><a href="http://arduino.cc/en/Main/ContactUs">Contact us</a></li>
        <li><a href="http://arduino.cc/Careers">Careers</a></li>
      </ul>
    </div>
    <div class="large-4 four columns">
      <ul id="arduinoSocialLinks" class="arduino-social-links">
        <li>
          <a href="https://twitter.com/arduino">
            <img src="Arduino%20-%20LiquidCrystalDisplay-Dateien/twitter.png">
          </a>
        </li>
        <li>
          <a href="http://www.facebook.com/official.arduino">
            <img src="Arduino%20-%20LiquidCrystalDisplay-Dateien/facebook.png">
          </a>
        </li>
        <li>
          <a href="https://plus.google.com/+Arduino">
            <img src="Arduino%20-%20LiquidCrystalDisplay-Dateien/gplus_002.png">
          </a>
        </li>
        <li>
          <a href="http://www.flickr.com/photos/arduino_cc">
            <img src="Arduino%20-%20LiquidCrystalDisplay-Dateien/flickr.png">
          </a>
        </li>
        <li>
          <a href="http://youtube.com/arduinoteam">
            <img src="Arduino%20-%20LiquidCrystalDisplay-Dateien/youtube.png">
          </a>
        </li>
      </ul>
    </div>
  </div>
</div>

	</div>
	<!--/PageFooterFmt-->
	
	  <!--[if gte IE 9]><!-->
	  <script src="Arduino%20-%20LiquidCrystalDisplay-Dateien/foundation.js"></script>
	  <script src="Arduino%20-%20LiquidCrystalDisplay-Dateien/foundation_002.js"></script>
	  <script>
	    $(document).foundation();
	  </script>
	  <!--<![endif]-->
	  <!--[if IE 8]>
	  <script src="http://arduino.cc/js/foundation_ie8.min.js"></script>
	  <script src="http://arduino.cc/js/ie8/jquery.foundation.orbit.js"></script>
	  <script src="http://arduino.cc/js/ie8/jquery.foundation.alerts.js"></script>
	  <script src="http://arduino.cc/js/app.js"></script>

	  <script>
	  $(window).load(function(){
	    $("#featured").orbit();
	  });
	  </script> 
	  <![endif]-->
	
	<script type="text/javascript">
	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-22581631-3']);
	  _gaq.push(['_setDomainName', 'arduino.cc']);
	  _gaq.push(['_trackPageview']);
	
	    (function() {
	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();
	</script>

	<script>
	  $(window).load(function(){
	    $('a').each (function () {
	      href = $(this).attr ('href');
	      if (href.substring (0, 4) == 'http' && href.indexOf ('arduino.cc') == -1)
	        $(this).attr ('target', '_blank');
	    });
	  });
	</script>


<div class=" fb_reset" id="fb-root"><script async="" src="Arduino%20-%20LiquidCrystalDisplay-Dateien/all.js"></script><div style="position: absolute; top: -10000px; height: 0px; width: 0px;"><div><iframe src="Arduino%20-%20LiquidCrystalDisplay-Dateien/7r8gQb8MIqE.htm" style="border: medium none;" tabindex="-1" title="Facebook Cross Domain Communication Frame" aria-hidden="true" id="fb_xdm_frame_http" scrolling="no" allowtransparency="true" name="fb_xdm_frame_http" frameborder="0"></iframe><iframe src="Arduino%20-%20LiquidCrystalDisplay-Dateien/7r8gQb8MIqE_002.htm" style="border: medium none;" tabindex="-1" title="Facebook Cross Domain Communication Frame" aria-hidden="true" id="fb_xdm_frame_https" scrolling="no" allowtransparency="true" name="fb_xdm_frame_https" frameborder="0"></iframe></div></div><div style="position: absolute; top: -10000px; height: 0px; width: 0px;"><div><iframe src="Arduino%20-%20LiquidCrystalDisplay-Dateien/ping.htm" style="display: none;" scrolling="no" allowtransparency="true" name="f3d01827c62f4d4" frameborder="0"></iframe></div></div></div><iframe tabindex="-1" style="width: 1px; height: 1px; position: absolute; top: -100px;" src="Arduino%20-%20LiquidCrystalDisplay-Dateien/postmessageRelay.htm" id="oauth2relay438201352" name="oauth2relay438201352"></iframe></body></html>